POV-Ray : Newsgroups : povray.advanced-users : Isosurface math questions : Re: Isosurface math questions Server Time
2 Nov 2024 09:21:35 EDT (-0400)
  Re: Isosurface math questions  
From: David Fontaine
Date: 16 Dec 1999 23:31:01
Message: <3859BAFD.4E15D2E8@isd.net>
> To union functions, use the boolean OR operator(|) between the functions.
> To make them blob together, you have to make them into density
> functions, try using min and max to clamp the values into a specific
> range. Here is a useful function for doing this:
>
> #declare clamp = function {min(y, max(x, z))}
> clamp(value, minimum, maximum)
> Clamps the value to the range [minimum, maximum]. Can only be used in
> isosurface functions and function pigments.

Thanks for the info.

> But really, this is what the isoblob object was designed for, why not
> use it? It is included in MegaPOV.

Because I like to experiment with the math, I find it interesting. I learn ten
times more on my own than I ever do in school.

--
David   http://thunder.prohosting.com/~davidf  (ICQ 55354965)
"The paper holds their folded faces to the floor" -Pink Floyd


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.